From 7680644766411754d30ac163cc8beecfbbb5f9ef Mon Sep 17 00:00:00 2001 From: oliskoli Date: Thu, 28 Jun 2007 22:37:13 +0000 Subject: [PATCH] Allow wildcards [*?] in xml tag list. --- gpsbabel/xmlgeneric.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpsbabel/xmlgeneric.c b/gpsbabel/xmlgeneric.c index 16aa6513f..74ea8f192 100644 --- a/gpsbabel/xmlgeneric.c +++ b/gpsbabel/xmlgeneric.c @@ -160,7 +160,7 @@ xml_tbl_lookup(const char *tag, xg_cb_type cb_type) { xg_tag_mapping *tm; for (tm = xg_tag_tbl; tm->tag_cb != NULL; tm++) { - if (0 == strcmp(tm->tag_name, tag) && (cb_type == tm->cb_type)) { + if (str_match(tm->tag_name, tag) && (cb_type == tm->cb_type)) { return tm->tag_cb; } } -- 2.30.2